<template>
    <div>
        <ww-open-data :type="type" :openid="openid" />
    </div>
</template>

<script>
export default {
    name: 'WWOpenData',
    props: {
        type: {
            type: String,
            default: 'userName'
        },
        openid: {
            type: String,
            default: 'userName'
        }
    },
    mounted() {
        WWOpenData.bind(document.querySelector('ww-open-data'))
    }
}
</script>
